{{for(var i=0;i<it.length;i++){}}
<div class="bg_white border_b border_t border_t margin_b_10">
    <div class="border_b lineheight_3 padding_h_15 h_justify">
        <span>订单号：{{=it[i].no}}</span>
        <span class="warning">{{=it[i].status}}</span>
    </div>
    <div class="padding_h_15">
        <div class="v_center border_b padding_v_10">
            <div class="width_50">
                <img class="fit_img4" src="{{=it[i].img}}" alt="">
            </div>
            <div class="left_50 h_justify padding_l_15">
                <span>{{=it[i].title}}</span>
                <span>{{=it[i].num}}</span>
            </div>
        </div>
        <div class="text_right lineheight_3 border_b">合计：<span class="warning">{{=it[i].totalprice}}</span></div>
        <div class="padding_v_15 h_justify">
            <div class="">实付款：<span class="warning">￥{{=it[i].cost}}</span></div>
            <div class="text_center">
                {{if(it[i].oldstatus == 0){}}
                <span class="btn btn_grey width_80" onclick="quit_order({{=it[i].id}})">取消订单</span>
                <span class="btn btn_danger width_80" onclick="pay_order({{=it[i].id}})">支付</span>
                {{}else if(it[i].oldstatus == 1 && it[i].pstatus == 2){}}
                <span class="btn btn_primary width_80" onclick="refund_order({{=it[i].id}})">申请退款</span>
                {{}else if(it[i].oldstatus == 3){}}
                <psan>等待审核...</psan>
                {{}else if(it[i].oldstatus == 4){}}
                <span class="btn btn_primary width_80">已退款</span>
                {{}else if(it[i].oldstatus == 5){}}
                <psan>{{=it[i].refundfail_remark}}</psan>
                {{}else if(it[i].oldstatus == 2){}}
                <span class="btn btn_default width_80">已评价</span>
                {{}}}
            </div>
        </div>
    </div>
</div>
{{}}}